package io.sodabox.common.utils;

public interface ExceptionalCommand<E extends Exception> {

	/**
	 * Performs a unit of work, possibly throwing {@code E} in the process.
	 *
	 * @throws E if there was a problem performing the work
	 */
	void execute() throws E;
}
